* nsmenu.m (menuWillOpen:): Fix preprocessor test.
authorJan D. <jan.h.d@swipnet.se>
Thu, 15 Aug 2013 17:36:45 +0000 (19:36 +0200)
committerJan D. <jan.h.d@swipnet.se>
Thu, 15 Aug 2013 17:36:45 +0000 (19:36 +0200)
src/ChangeLog
src/nsmenu.m

index e2662cd3696b1e38f0a6a54a7287d7fe91683ac1..9ba2a6ce2cdb34fd9580d8769a4269d8b18e3395 100644 (file)
@@ -1,3 +1,7 @@
+2013-08-15  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsmenu.m (menuWillOpen:): Fix preprocessor test (Bug#15001).
+
 2013-08-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * image.c (imagemagick_compute_animated_image): Respect the GIF
index 3266d76450c9f227590d65b6d187dde09692e764..5af813ac7586a96cc05b3816829214cda9c2e7ff 100644 (file)
@@ -575,7 +575,7 @@ extern NSString *NSMenuDidBeginTrackingNotification;
 {
   ++trackingMenu;
 
-#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_6
+#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
   // On 10.6 we get repeated calls, only the one for NSSystemDefined is "real".
   if ([[NSApp currentEvent] type] != NSSystemDefined) return;
 #endif